package ui.activity.mine.contract;


import Bean.GetBankcardBean;
import base.BaseInfoView;
import base.BasePresenter;
import ui.model.AccountMoneyInfo;
import ui.model.WithDrawInfo;

/**
 * Created by chenjian on 19/2/26
 * 1
 */

public interface ReturnIncomeContract {

    interface View extends BaseInfoView {

        void upDateUI(GetBankcardBean.DataBean.ItemsBean bean);

        void upDateMoneyUI(AccountMoneyInfo info);

        void ShowDialog();

        void successJump(String money, String cardName);

        void showEdit();

        void showAddPwd();

        void showPwd();

        void setEnable(boolean enable);

        void upDateInfo(WithDrawInfo info);

        void loadMoreComplete();

        void hasLoadMore(boolean b);

        void refreshComplete();
    }

    interface Presenter extends BasePresenter {

        void getUserCard();

        void toWithDraw(String money, String carnumber, String cardId, String cardName, String type, String code);

        void toShowInfo();

        void toCardList();

        void toWithDrawList();

        void toBuy();

        void getCode(String money, String carNumber, String cardId, String cardName, String type);

        void getPwdInfo(String money, String carNumber, String cardId, String cardName, String type);

        void toAddPwd();

        void getWithDraw(boolean isRefresh);

    }
}
